package com.sunelec.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ConfluenceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ConfluenceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Time> timeList = new ArrayList<java.sql.Time>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                timeList.add(new java.sql.Time(iter.next().getTime()));
            }
            addCriterion(condition, timeList, property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property);
        }

        public Criteria andConfluenceIdIsNull() {
            addCriterion("confluence_id is null");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdIsNotNull() {
            addCriterion("confluence_id is not null");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdEqualTo(String value) {
            addCriterion("confluence_id =", value, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdNotEqualTo(String value) {
            addCriterion("confluence_id <>", value, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdGreaterThan(String value) {
            addCriterion("confluence_id >", value, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdGreaterThanOrEqualTo(String value) {
            addCriterion("confluence_id >=", value, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdLessThan(String value) {
            addCriterion("confluence_id <", value, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdLessThanOrEqualTo(String value) {
            addCriterion("confluence_id <=", value, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdLike(String value) {
            addCriterion("confluence_id like", value, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdNotLike(String value) {
            addCriterion("confluence_id not like", value, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdIn(List<String> values) {
            addCriterion("confluence_id in", values, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdNotIn(List<String> values) {
            addCriterion("confluence_id not in", values, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdBetween(String value1, String value2) {
            addCriterion("confluence_id between", value1, value2, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andConfluenceIdNotBetween(String value1, String value2) {
            addCriterion("confluence_id not between", value1, value2, "confluenceId");
            return (Criteria) this;
        }

        public Criteria andDcVoltageIsNull() {
            addCriterion("DC_voltage is null");
            return (Criteria) this;
        }

        public Criteria andDcVoltageIsNotNull() {
            addCriterion("DC_voltage is not null");
            return (Criteria) this;
        }

        public Criteria andDcVoltageEqualTo(Float value) {
            addCriterion("DC_voltage =", value, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageNotEqualTo(Float value) {
            addCriterion("DC_voltage <>", value, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageGreaterThan(Float value) {
            addCriterion("DC_voltage >", value, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageGreaterThanOrEqualTo(Float value) {
            addCriterion("DC_voltage >=", value, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageLessThan(Float value) {
            addCriterion("DC_voltage <", value, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageLessThanOrEqualTo(Float value) {
            addCriterion("DC_voltage <=", value, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageIn(List<Float> values) {
            addCriterion("DC_voltage in", values, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageNotIn(List<Float> values) {
            addCriterion("DC_voltage not in", values, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageBetween(Float value1, Float value2) {
            addCriterion("DC_voltage between", value1, value2, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andDcVoltageNotBetween(Float value1, Float value2) {
            addCriterion("DC_voltage not between", value1, value2, "dcVoltage");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1IsNull() {
            addCriterion("elc_current1 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1IsNotNull() {
            addCriterion("elc_current1 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1EqualTo(Float value) {
            addCriterion("elc_current1 =", value, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1NotEqualTo(Float value) {
            addCriterion("elc_current1 <>", value, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1GreaterThan(Float value) {
            addCriterion("elc_current1 >", value, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current1 >=", value, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1LessThan(Float value) {
            addCriterion("elc_current1 <", value, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1LessThanOrEqualTo(Float value) {
            addCriterion("elc_current1 <=", value, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1In(List<Float> values) {
            addCriterion("elc_current1 in", values, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1NotIn(List<Float> values) {
            addCriterion("elc_current1 not in", values, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1Between(Float value1, Float value2) {
            addCriterion("elc_current1 between", value1, value2, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent1NotBetween(Float value1, Float value2) {
            addCriterion("elc_current1 not between", value1, value2, "elcCurrent1");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2IsNull() {
            addCriterion("elc_current2 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2IsNotNull() {
            addCriterion("elc_current2 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2EqualTo(Float value) {
            addCriterion("elc_current2 =", value, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2NotEqualTo(Float value) {
            addCriterion("elc_current2 <>", value, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2GreaterThan(Float value) {
            addCriterion("elc_current2 >", value, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current2 >=", value, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2LessThan(Float value) {
            addCriterion("elc_current2 <", value, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2LessThanOrEqualTo(Float value) {
            addCriterion("elc_current2 <=", value, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2In(List<Float> values) {
            addCriterion("elc_current2 in", values, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2NotIn(List<Float> values) {
            addCriterion("elc_current2 not in", values, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2Between(Float value1, Float value2) {
            addCriterion("elc_current2 between", value1, value2, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent2NotBetween(Float value1, Float value2) {
            addCriterion("elc_current2 not between", value1, value2, "elcCurrent2");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3IsNull() {
            addCriterion("elc_current3 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3IsNotNull() {
            addCriterion("elc_current3 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3EqualTo(Float value) {
            addCriterion("elc_current3 =", value, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3NotEqualTo(Float value) {
            addCriterion("elc_current3 <>", value, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3GreaterThan(Float value) {
            addCriterion("elc_current3 >", value, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current3 >=", value, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3LessThan(Float value) {
            addCriterion("elc_current3 <", value, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3LessThanOrEqualTo(Float value) {
            addCriterion("elc_current3 <=", value, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3In(List<Float> values) {
            addCriterion("elc_current3 in", values, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3NotIn(List<Float> values) {
            addCriterion("elc_current3 not in", values, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3Between(Float value1, Float value2) {
            addCriterion("elc_current3 between", value1, value2, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent3NotBetween(Float value1, Float value2) {
            addCriterion("elc_current3 not between", value1, value2, "elcCurrent3");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4IsNull() {
            addCriterion("elc_current4 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4IsNotNull() {
            addCriterion("elc_current4 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4EqualTo(Float value) {
            addCriterion("elc_current4 =", value, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4NotEqualTo(Float value) {
            addCriterion("elc_current4 <>", value, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4GreaterThan(Float value) {
            addCriterion("elc_current4 >", value, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current4 >=", value, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4LessThan(Float value) {
            addCriterion("elc_current4 <", value, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4LessThanOrEqualTo(Float value) {
            addCriterion("elc_current4 <=", value, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4In(List<Float> values) {
            addCriterion("elc_current4 in", values, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4NotIn(List<Float> values) {
            addCriterion("elc_current4 not in", values, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4Between(Float value1, Float value2) {
            addCriterion("elc_current4 between", value1, value2, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent4NotBetween(Float value1, Float value2) {
            addCriterion("elc_current4 not between", value1, value2, "elcCurrent4");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5IsNull() {
            addCriterion("elc_current5 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5IsNotNull() {
            addCriterion("elc_current5 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5EqualTo(Float value) {
            addCriterion("elc_current5 =", value, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5NotEqualTo(Float value) {
            addCriterion("elc_current5 <>", value, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5GreaterThan(Float value) {
            addCriterion("elc_current5 >", value, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current5 >=", value, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5LessThan(Float value) {
            addCriterion("elc_current5 <", value, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5LessThanOrEqualTo(Float value) {
            addCriterion("elc_current5 <=", value, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5In(List<Float> values) {
            addCriterion("elc_current5 in", values, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5NotIn(List<Float> values) {
            addCriterion("elc_current5 not in", values, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5Between(Float value1, Float value2) {
            addCriterion("elc_current5 between", value1, value2, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent5NotBetween(Float value1, Float value2) {
            addCriterion("elc_current5 not between", value1, value2, "elcCurrent5");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6IsNull() {
            addCriterion("elc_current6 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6IsNotNull() {
            addCriterion("elc_current6 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6EqualTo(Float value) {
            addCriterion("elc_current6 =", value, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6NotEqualTo(Float value) {
            addCriterion("elc_current6 <>", value, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6GreaterThan(Float value) {
            addCriterion("elc_current6 >", value, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current6 >=", value, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6LessThan(Float value) {
            addCriterion("elc_current6 <", value, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6LessThanOrEqualTo(Float value) {
            addCriterion("elc_current6 <=", value, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6In(List<Float> values) {
            addCriterion("elc_current6 in", values, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6NotIn(List<Float> values) {
            addCriterion("elc_current6 not in", values, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6Between(Float value1, Float value2) {
            addCriterion("elc_current6 between", value1, value2, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent6NotBetween(Float value1, Float value2) {
            addCriterion("elc_current6 not between", value1, value2, "elcCurrent6");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7IsNull() {
            addCriterion("elc_current7 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7IsNotNull() {
            addCriterion("elc_current7 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7EqualTo(Float value) {
            addCriterion("elc_current7 =", value, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7NotEqualTo(Float value) {
            addCriterion("elc_current7 <>", value, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7GreaterThan(Float value) {
            addCriterion("elc_current7 >", value, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current7 >=", value, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7LessThan(Float value) {
            addCriterion("elc_current7 <", value, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7LessThanOrEqualTo(Float value) {
            addCriterion("elc_current7 <=", value, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7In(List<Float> values) {
            addCriterion("elc_current7 in", values, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7NotIn(List<Float> values) {
            addCriterion("elc_current7 not in", values, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7Between(Float value1, Float value2) {
            addCriterion("elc_current7 between", value1, value2, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent7NotBetween(Float value1, Float value2) {
            addCriterion("elc_current7 not between", value1, value2, "elcCurrent7");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8IsNull() {
            addCriterion("elc_current8 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8IsNotNull() {
            addCriterion("elc_current8 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8EqualTo(Float value) {
            addCriterion("elc_current8 =", value, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8NotEqualTo(Float value) {
            addCriterion("elc_current8 <>", value, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8GreaterThan(Float value) {
            addCriterion("elc_current8 >", value, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current8 >=", value, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8LessThan(Float value) {
            addCriterion("elc_current8 <", value, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8LessThanOrEqualTo(Float value) {
            addCriterion("elc_current8 <=", value, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8In(List<Float> values) {
            addCriterion("elc_current8 in", values, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8NotIn(List<Float> values) {
            addCriterion("elc_current8 not in", values, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8Between(Float value1, Float value2) {
            addCriterion("elc_current8 between", value1, value2, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent8NotBetween(Float value1, Float value2) {
            addCriterion("elc_current8 not between", value1, value2, "elcCurrent8");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9IsNull() {
            addCriterion("elc_current9 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9IsNotNull() {
            addCriterion("elc_current9 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9EqualTo(Float value) {
            addCriterion("elc_current9 =", value, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9NotEqualTo(Float value) {
            addCriterion("elc_current9 <>", value, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9GreaterThan(Float value) {
            addCriterion("elc_current9 >", value, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current9 >=", value, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9LessThan(Float value) {
            addCriterion("elc_current9 <", value, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9LessThanOrEqualTo(Float value) {
            addCriterion("elc_current9 <=", value, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9In(List<Float> values) {
            addCriterion("elc_current9 in", values, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9NotIn(List<Float> values) {
            addCriterion("elc_current9 not in", values, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9Between(Float value1, Float value2) {
            addCriterion("elc_current9 between", value1, value2, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent9NotBetween(Float value1, Float value2) {
            addCriterion("elc_current9 not between", value1, value2, "elcCurrent9");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10IsNull() {
            addCriterion("elc_current10 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10IsNotNull() {
            addCriterion("elc_current10 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10EqualTo(Float value) {
            addCriterion("elc_current10 =", value, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10NotEqualTo(Float value) {
            addCriterion("elc_current10 <>", value, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10GreaterThan(Float value) {
            addCriterion("elc_current10 >", value, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current10 >=", value, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10LessThan(Float value) {
            addCriterion("elc_current10 <", value, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10LessThanOrEqualTo(Float value) {
            addCriterion("elc_current10 <=", value, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10In(List<Float> values) {
            addCriterion("elc_current10 in", values, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10NotIn(List<Float> values) {
            addCriterion("elc_current10 not in", values, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10Between(Float value1, Float value2) {
            addCriterion("elc_current10 between", value1, value2, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent10NotBetween(Float value1, Float value2) {
            addCriterion("elc_current10 not between", value1, value2, "elcCurrent10");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11IsNull() {
            addCriterion("elc_current11 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11IsNotNull() {
            addCriterion("elc_current11 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11EqualTo(Float value) {
            addCriterion("elc_current11 =", value, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11NotEqualTo(Float value) {
            addCriterion("elc_current11 <>", value, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11GreaterThan(Float value) {
            addCriterion("elc_current11 >", value, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current11 >=", value, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11LessThan(Float value) {
            addCriterion("elc_current11 <", value, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11LessThanOrEqualTo(Float value) {
            addCriterion("elc_current11 <=", value, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11In(List<Float> values) {
            addCriterion("elc_current11 in", values, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11NotIn(List<Float> values) {
            addCriterion("elc_current11 not in", values, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11Between(Float value1, Float value2) {
            addCriterion("elc_current11 between", value1, value2, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent11NotBetween(Float value1, Float value2) {
            addCriterion("elc_current11 not between", value1, value2, "elcCurrent11");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12IsNull() {
            addCriterion("elc_current12 is null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12IsNotNull() {
            addCriterion("elc_current12 is not null");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12EqualTo(Float value) {
            addCriterion("elc_current12 =", value, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12NotEqualTo(Float value) {
            addCriterion("elc_current12 <>", value, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12GreaterThan(Float value) {
            addCriterion("elc_current12 >", value, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12GreaterThanOrEqualTo(Float value) {
            addCriterion("elc_current12 >=", value, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12LessThan(Float value) {
            addCriterion("elc_current12 <", value, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12LessThanOrEqualTo(Float value) {
            addCriterion("elc_current12 <=", value, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12In(List<Float> values) {
            addCriterion("elc_current12 in", values, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12NotIn(List<Float> values) {
            addCriterion("elc_current12 not in", values, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12Between(Float value1, Float value2) {
            addCriterion("elc_current12 between", value1, value2, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andElcCurrent12NotBetween(Float value1, Float value2) {
            addCriterion("elc_current12 not between", value1, value2, "elcCurrent12");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIsNull() {
            addCriterion("total_power is null");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIsNotNull() {
            addCriterion("total_power is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPowerEqualTo(Float value) {
            addCriterion("total_power =", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotEqualTo(Float value) {
            addCriterion("total_power <>", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerGreaterThan(Float value) {
            addCriterion("total_power >", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerGreaterThanOrEqualTo(Float value) {
            addCriterion("total_power >=", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerLessThan(Float value) {
            addCriterion("total_power <", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerLessThanOrEqualTo(Float value) {
            addCriterion("total_power <=", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIn(List<Float> values) {
            addCriterion("total_power in", values, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotIn(List<Float> values) {
            addCriterion("total_power not in", values, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerBetween(Float value1, Float value2) {
            addCriterion("total_power between", value1, value2, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotBetween(Float value1, Float value2) {
            addCriterion("total_power not between", value1, value2, "totalPower");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterionForJDBCDate("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterionForJDBCDate("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterionForJDBCDate("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterionForJDBCDate("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterionForJDBCTime("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterionForJDBCTime("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterionForJDBCTime("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterionForJDBCTime("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterionForJDBCTime("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterionForJDBCTime("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}